public class Test {
    public static void main(String[] args) {
        AbsFactory adminFactory = new AdminFactory();
        User anmin1 =adminFactory.GreatUser("zhangsan",30);

        AbsFactory normalFactory = new  NormalFactory();
        User normal =normalFactory.GreatUser("lisi",20);
        anmin1.menu();
        normal.menu();
    }
}
